package common;

import android.content.Context;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;

import com.concerneyes.R;

import util.WebCommon;
import util.WebSetting;

/**
 * 通用web网页设置
 */

public class WebViewActivity extends AbsActivity {
    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        String title = getIntent().getExtras().getString("title");
        String activityUrl  = getIntent().getExtras().getString("activityUrl");
        setTitle(title);
        setContentView(R.layout.activity_webview);
        WebView mWv = (WebView) findViewById(R.id.wv_show);
        WebCommon.loadData(mWv, activityUrl);
    }
}
